Retrieval and conversion of query results from multiple query services

ABSTRACT

A system can receive an identifier for a query used by a query service of one or more query services and an identifier for the query used by an issuing computer system. The query service and the computer system that issued the query can use different schemas for query results. A mapping can be established that maps elements of one schema to the other schema. This mapping, and a mapping of the query identifiers, can be used to convert query results to a format useable by the computing system that issued the query. By converting query results from multiple query services, which may have different formats, to a common format of the issuing computing system, the use of multiple query services is facilitated.

FIELD

The present disclosure generally relates to retrieving query results fora query that may have been submitted to multiple query services.Particular implementations relate to retrieving query results from queryservices, converting them to a format useable by a computing device thatsubmitted the query, and then sending the converted results to suchcomputing device.

BACKGROUND

Interoperability and compatibility are ongoing issues in softwaredesign. In some ways, the advent of the internet has made these problemseasier, but in other ways it has made them more complex. Although datatransfer over the internet is governed by particular protocols, such asHTTP and TCP/IP, the format of the data as sent by one computing entitycan be different than a format used by other computing entities.

To some extent, data formats can be made more consistent, or at leasteasier to use, with serialized formats such as JSON and XML. However,metadata, such as in a schema definition, may still differ between aserialized format sent by one computing entity and a format used byanother computing entity. Moreover, different computing entities mayprovide serialized formats for information having the same basicpurpose, but the encoding formats may differ (e.g., using XML ratherthan JSON), as well as the metadata used—in terms of the labels used forthe metadata, an order or grouping (including a hierarchical grouping)of metadata elements, and datatypes associated with values for themetadata (e.g., one format may represent a value as a string, andanother format may represent the value, for an equivalent metadataelement, as an integer).

In addition, some of the values used by different systems for the samedata object may differ. That is, a first computing entity may haveassigned a first identifier to a first data object, but a secondcomputing entity may use a second identifier for that data, representedas a second data object. Accordingly, room for improvement exists.

SUMMARY

This Summary is provided to introduce a selection of concepts in asimplified form that are further described below in the DetailedDescription. This Summary is not intended to identify key features oressential features of the claimed subject matter, nor is it intended tobe used to limit the scope of the claimed subject matter.

Techniques and solutions are described for receiving query results fromone or more query services. A system implementing disclosed techniquescan receive an identifier for the query used by a query service and anidentifier for the query used by the issuing computer system. The queryservice and the computer system that issued the query can use differentschemas for query results. A mapping can be established that mapselements of one schema to the other schema. This mapping, and a mappingof the query identifiers, can be used to convert query results to aformat useable by the computing system that issued the query. Byconverting query results from multiple query services, which may havedifferent formats, to a common format of the issuing computing system,the use of multiple query services is facilitated.

In one aspect, a method is provided for retrieving a query result from aquery service, converting the result to a format useable by a computingdevice, and sending the query result to the computing device. A firstidentifier is received. The first identifier is used by a firstcomputing device to identify a first query posted to a first queryservice. A second identifier is received. The second identifier is usedby the first query service to identify the first query.

At least a first query response to the first query is received from thefirst query service. The first query response is in a first schema,comprising a first plurality of metadata fields and having first valuesfor at least a portion of the first plurality of metadata fields. It isdetermined that the at least a first query response is responsive to thefirst query. At least a portion of the first values are extracted fromthe at least a first query response.

A first instance of a query response schema is instantiated with atleast a portion of the extracted first values. The query response schemahas a second plurality of metadata fields, where at least a portion ofthe second plurality of metadata fields differ from at least a portionof the first plurality of metadata fields. The first instance of thequery response schema is associated with the first identifier. The firstinstance of the query response schema is sent to the first computingdevice.

In another aspect, a method is provided for retrieving query resultsfrom first and second query services, converting the results to a formatuseable by a computing device, and sending the query results to thecomputing device. A first identifier is received. The first identifieris used by a first computing device to identify a first query posted toa first query service and at least a second query service. A secondidentifier is received. The second identifier is used by the first queryservice to identify the first query. A third identifier is received. Thethird identifier is used by the second query service to identify thefirst query.

At least a first query response to the first query is received from thefirst query service. The at least a first query response has a firstschema comprising a first plurality of metadata fields and first valuesfor at least a portion of the first plurality of metadata fields. Atleast a second query response to the first query is received from thesecond query service. The at least a second query response has a secondschema comprising a second plurality of metadata fields and secondvalues for at least a portion of the second plurality of metadatafields. It is determined that the at least a first query response isresponsive to the first query. At least a portion of the first valuesare extracted from the at least a first query response.

A first instance of a query response schema is instantiated with atleast a portion of the extracted first values. The query response schemahas a third plurality of metadata fields. At least a portion of thethird plurality of metadata fields differ from at least a portion of thefirst plurality of metadata fields. The first instance of the queryresponse schema is associated with the first identifier. The firstinstance of the query response schema is sent to the first computingdevice.

It is determined that the at least a second query response is responsiveto the first query. At least a portion of the second values areextracted from the at least a second query response. A second instanceof the query response schema is instantiated with at least a portion ofthe extracted second values. The second instance of the query responseschema is associated with the first identifier. The second instance ofquery response schema is sent to the first computing device.

In a further aspect, a method is provided for retrieving a query resultfrom a query service, converting the result to a format useable by afirst computing device using a mapping configuration, and sending thequery result to the first computing device. A first identifier isreceived. The first identifier is used by the first computing device toidentify a first query posted to a first query service. A secondidentifier is received. The second identifier is used by the first queryservice to identify the first query.

A first mapping configuration is received. The first mappingconfiguration maps at least a portion of elements of a first metadataschema used by the first query service to metadata elements of a secondmetadata schema used by the first computing device. The first mappingconfiguration is stored. At least a first query response, in the firstmetadata schema, for the first query is received from the first queryservice. It is determined that the at least a first query response isresponsive to the first query. At least a portion of first values ofmetadata elements of the at least a first query response is extracted.

It is determined that the first query response is associated with thefirst mapping configuration. The first mapping configuration isretrieved. A first instance of the second metadata schema isinstantiated by mapping at least a portion of the first values tometadata elements of the second metadata schema using the first mappingconfiguration. The first instance of the second metadata schema isassociated with the first identifier. The first instance of the secondmetadata schema is sent to the first computing device.

The present disclosure also includes computing systems and tangible,non-transitory computer readable storage media configured to carry out,or including instructions for carrying out, an above-described method.As described herein, a variety of other features and advantages can beincorporated into the technologies as desired.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram of a computing environment in which disclosedtechnologies can be implemented.

FIG. 2 is an example user interface screen allowing a user to mapelements of a first schema for query results to a second schema forquery results.

FIG. 3 is an example user interface screen displaying mappings of queryidentifiers used by a posting service to query identifiers used by anapplication system.

FIGS. 4A-4F provide XML code for example query results in a first queryresults schema.

FIGS. 5A-5H provide XML code for example query results in a second queryresults schema.

FIG. 6 provides example JSON code for query results in a third queryresults schema.

FIGS. 7-14 provide example JAVA code for classes that can be used tohold query results in a first format and to hold query results in asecond format, where query results can be converted between the firstformat and the second format.

FIGS. 15-17 are flowcharts illustrating operations in disclosed methodsof receiving query results, converting query results between formats,and providing converted query results to a computing system that issuedthe query.

FIG. 18 is a diagram of an example computing system in which somedescribed embodiments can be implemented.

FIG. 19 is an example cloud computing environment that can be used inconjunction with the technologies described herein.

DETAILED DESCRIPTION Example 1—Overview

Interoperability and compatibility are ongoing issues in softwaredesign. In some ways, the advent of the internet has made these problemseasier, but in other ways it has made them more complex. Although datatransfer over the internet is governed by particular protocols, such asHTTP and TCP/IP, the format of the data as sent by one computing entitycan be different than a format used by other computing entities.

To some extent, data formats can be made more consistent, or at leasteasier to use, with serialized formats such as JSON and XML. However,metadata, such as in a schema definition, may still differ between aserialized format sent by one computing entity and a format used byanother computing entity. Moreover, different computing entities mayprovide serialized formats for information having the same basicpurpose, but the encoding formats may differ (e.g., using XML ratherthan JSON), as well as the metadata used—in terms of the labels used forthe metadata, an order or grouping (including a hierarchical grouping)of metadata elements, and datatypes associated with values for themetadata (e.g., one format may represent a value as a string, andanother format may represent the value, for an equivalent metadataelement, as an integer).

In addition, some of the values used by different systems for the samedata object may differ. That is, a first computing entity may haveassigned a first identifier to a first data object, but a secondcomputing entity may use a second identifier for that data, representedas a second data object. Accordingly, room for improvement exists.

In a specific example, a software application may post a query todifferent computing systems where query responses can be provided. Thequery may be assigned an identifier by the software application, butassigned different identifiers by the computing systems to which thequery was posted. The software application can have a schema, such asreflected in structured data representation, such as XML or JSON, or ina datatype (such as an abstract datatype, such as an instance of aparticular class for an object type associated with the query response).The computing systems to which the query responses were posted mayprovide query responses in different formats, different schemas, orboth, than each other, or the format used by the computing system thatposted the query.

In many cases, users manually convert data, as reflected in a queryresponse, between formats. For example, the computing system that post aquery and receives one or more query responses can send its queryresults to a computing system used by the user. The user can manuallyrequest and read the data in the query response, and then manually enterthe data into a software application used to manipulate query results,which can be the same software application where the query originated.However, this process can be extremely time consuming, particularly whenmany queries may be submitted, with tens or hundreds of query responsesoften received for each query.

The present disclosure provides technologies for facilitating receivingquery responses, including query responses from different computingservices/query service providers, where the services may use differentAPIs, provide query responses in different formats, or a combinationthereof. A posting (or query) service adapter can be configured toretrieve query responses from one or more posting services. Typically, aconfiguration in the posting service adapter is created for eachdifferent API that is to be called. The posting service adapter can beexpandable, and flexible, in that new posting services can beincorporated into the system (e.g., used with posting/queries) bycreating a new configuration that works with the API of the new postingservice. Similarly, if a posting service changes its API, thecorresponding configuration of the posting service can be updated towork with the updated API.

After query results (e.g., one or more posting replies to a posting) arereceived, the query results can be converted to a format used by an endapplication. Thus, even though a variety of posting services can beused, and configurations updated or changed in the posting serviceadapter, these changes can be abstracted from the end application thatuses the posting replies (i.e., query results). In a particular example,query results can be converted to an intermediate format, mapped by theposting service adapter from a schema used by the posting service to aschema used by the end application, converted to a format usable by theend application, and sent to the end application. The use of theintermediate format can facilitate the mapping process, and can alsoallow query results to be returned to different end applications thatuse different schemas/data formats.

Example 2—Example Computing Environment Facilitating Posting Queries to,and Receiving Query Results from, Multiple Query Services

FIG. 1 illustrates a computing environment 100 in which disclosedtechnologies can be implemented. Generally, the computing environment100 includes one or more clients 106, one or more posting services 108,at least one application 110 that receives posting requests from aclient for posting queries to a posting service, and a posting serviceadapter 112 that receives query results (or posting replies) from one ormore of the posting services, processes the results, and sends theprocessed results to the application in a format used by theapplication, where the results can then be sent or presented to therelevant client 106.

The application 110 can include a user interface 116. The user interface116 can be accessed by the clients 106, such as to create queries or topost queries to one or more of the posting services 108. For example, auser may use the user interface 116 to create a query and select one ormore of the posting services 108 to receive the query. The userinterface 116 can also allow a user to view query results that may bereceived from a posting service 108, such as through the posting serviceadapter 112. In at least some cases, the application 110 may allow auser to receive information, including query results, from a postingservice 108 in another manner, such by manually accessing a postingservice and retrieving query results.

The application 110 can use postings or queries in a first format 118.The first format can include one or both of a first schema and a firstdata format (e.g., an encoding format, such as JSON or XML, or aninstance of an abstract datatype or object in an object-orientedprogramming language, where the application may convert betweenrepresentations, such as an abstract datatype/object and a serializedrepresentation in a format such as JSON or XML). The first format 118 istypically also associated with a first identifier, which can be used todistinguish between different postings (e.g., instances of the object orserialized object) from one another.

Similarly, the application 110 can use query results (or postingreplies) in a first format 120. Like postings in the first format 118,the query results in the first format 120 can include one or both of afirst schema and a first data format, which can be the same as, ordifferent than, the schema/format used for the query. The query results120 can be associated with first identifiers, which can be used todistinguish query results from one another. In at least some cases, aparticular query result 120 can include a query result identifier andthe identifier of the posting in the first format 118. Including theidentifier of the query in the query results in the first format 120 canassist in tracking to which posting given posting replies should beassociated.

The application 110 can include a posting component 122. The postingcomponent 122 can be configured to send postings in the first format 118to one or more of the posting services 108. Typically, the postingcomponent 122 sends the postings in the first format 118 to a postingservice 108 by calling an API 126 of the relevant posting service 108.

Typically, a posting service 108 will maintain postings in a secondformat 128 and query results in a second format 130 (which may beimplemented generally as described for the postings/results 118, 120,except differing in one or both of schema/metadata or format, such asencoding format). The postings in the second format 128 and the queryresults in the second format 130 can be associated with respectiveidentifiers, as described for the queries 118/query results 120.Typically, the identifiers used by the posting service 108 are differentthan the identifiers used by the application 110, although in at leastsome cases the posting service can include at least the identifier ofthe posting in the first format 118 in the posting in the second format128 or the query results in the second format 130. The posting component122 can, in at least some implementations, convert a posting in thefirst format 118 to the second format 128, or to a format accepted bythe API 126 of the relevant posting service 108, where the API can beresponsible for converting data received through the API to the secondformat.

A posting service 108 can receive, or generate, query results, and canstore the query results in the second format 130. In a specific example,a posting service 108 can cause a posting to be displayed to a pluralityof users (which can be considered a type of client 106), who can replyor respond to the query (such as through the API 126) to provide queryresults stored as the query results in the second format 130. In othercases, a user may store information on a posting service 108, and canindicate whether this information should be used to generate postingresults for a given posting.

The posting service adapter 112 can be configured to automate, or atleast help automate, a process of transferring query results in thesecond format 130 to the application 110. Even putting aside formatdifferences, it can be time consuming and cumbersome for a user (e.g., aclient 106) to request query results for multiple postings on multipleposting services 108. The posting service adapter 112 can map theidentifier for a given posting in the first format 118 to a particularposting service 108 to which the posting was submitted (e.g., by theposting component 122).

The posting service adapter 112 can service requests (e.g., from theapplication 110, which can originate at a client 106), to request queryresults for a given query (or for multiple queries) from all, orselected members of, the posting services 108 to which the posting wassubmitted. The posting service adapter 112 can further facilitateautomation by converting query results between the second format 130, orthe format provided by the API 126, and a format used by the application110 (e.g., the first format 120, or a format in which the application isconfigured to receive query results, which are then converted to thefirst format).

The posting service adapter 112 can include a user interface 134. Theuser interface 134 can allow a user (e.g., a client 106, or anadministrator of a computing system, such as a cloud computing system,on which the posting service adapter is hosted) to configure the postingservice adapter 112 to access particular posting services 108, or totake various actions with respect to a posting service, such as toretrieve query results 130. To this end, the user interface 134 caninclude a posting service configuration component 136 and a datatransfer configuration component 138.

The posting service configuration component 136 can be used to create aprofile for a posting service 108. The profile can include informationregarding the API 126 of a given posting service, including a locationof the API (e.g., a URI), methods in the API (for example, forretrieving query results for a posting associated with a givenidentifier, such as used in the posting in the second format 128), andinformation useable in converting query results received from the queryresults in the second format 130 to the query results in the firstformat 120. Information useable in converting query results betweenformats can include information useable to map from a schema associatedwith the second format 130 to a schema associated with the first format120, or converting data between datatypes.

As an example, an element of the query results in the second format 130may represent a particular value (e.g., a value associated with aparticular metadata element of a schema), such as a calendar date/time,as a string, while the corresponding metadata element of the queryresults in the first schema 120 may represent the value in a particulartime unit datatype (e.g.,day/month/year/hours/minutes/seconds/milliseconds). Converting from thequery results in the second format 130 can also include converting froma particular file or encoding format sent by the API 126, such asconverting data from an XML representation or a JSON representation toan intermediate format that is further processed by the posting serviceadapter 112, and is eventually converted to the query results in thefirst format 120.

The data transfer configuration component 138 can be used by a user(such as a client 106) to interact with the posting service adapter 112to take various actions with respect to a posting service 108. Forexample, a user (e.g., a client 106, including in association with theapplication 110) can provide a posting identifier, such as theidentifier associated with a posting in the first format 118 or anidentifier associated with a posting in the second format 128, andreceive corresponding query results. In some cases, the data transferconfiguration component 138 can allow a user to select whether toreceive query results from one or more particular, selected postingservices 108, or to receive query results from all relevant postingservices. In addition to providing the ability for a user to manuallyrequest query results, the data transfer configuration component 138 canallow a user to schedule the retrieval of query results from one or moreposting services, such as at a specific time/date, or according to aschedule or at set intervals, such as every night, every week at aparticular time, etc.

A controller component or software layer 142 can include a configurationcontroller 144. The configuration controller 144 can interact with theposting service configuration component 136 to create, store, update, ordelete profiles for a posting service 108. In turn, the configurationcontroller 144 can call a mapping service 150 of a service softwarelayer 148, which can create mapping objects (or entities, which can betables, or entries in tables, in a database 156, or other data store)152 (i.e., query results schema mapping objects, or schema mappingobjects) that can be stored by a persistence layer 154 (such as in thedatabase).

A data transfer controller 158 of the controller component 142 cancommunicate with a data transfer service 160. In response to calls bythe data transfer controller 158, the data transfer service 160 canissue requests to pull query results (e.g., query results in the secondformat 130, as returned by the API 126) from the posting services 108.Responses from the posting services 108 can be received by a queryresults parser 162 of the service layer 148. The query results parser162 can retrieve mapping objects 152 through the mapping service 150.Using the appropriate mapping object 152 for a given posting service108, the parser 162 can extra data elements from query results. Forexample, the parser 162 can extract values for various metadata elementsfrom the query results and produce a query results object 164 that canbe sent to the application 110.

In some cases, the parser 162 can directly convert from a query resultsformat provided by a posting service 108 to a query results object 164.In other cases, the parser 162 can convert query results provided by aposting service 108 to a query results object 164 by first generating arepresentation of the query results in an intermediate format (notshown). The intermediate format can be a generalized format that can beused for query results from any of the posting services 108. Queryresults in the generalized, or intermediate, format can then be mappedto a format used for the query results object 164.

In order to assist the application 110 in correlating query resultsprovided in a query results object 164 to a particular query, it can beuseful for the posting service adapter 112 to map identifiers for thequeries in the first format 118 to identifiers used in the queries inthe second format 128. Accordingly, a query mapping API 166 of theposting service adapter 112 can receive query identifiers from theapplication 110. In a specific use case, when the posting component 122of the application 110 posts a query to a posting service 108, theposting component 122 receives the value of the identifier of the queryin the second format 128. The application 110 can then call the querymapping API 166, sending the identifier of the query in the first format118 and the identifier of the query in the second format 128.

The API 166 can send the query identifiers to a query mapping service168 of the service layer 148. The identifiers can be sent as a pairincluding the identifier for the query in the first format 118 and asingle query in the second format 128 for a single posting, as a tupleincluding the identifier for the query in the first format andidentifiers for multiple queries in the second format (e.g.,corresponding to the same query from the application 110, but atdifferent posting services 108), or as larger or more complex datacollections (e.g., a series of tuples/records for multiple postings bythe application, to one, or optionally a plurality, of the postingservices).

The query mapping service 168 can produce query mapping objects 170. Aquery mapping object 170 can be used to assign the identifier of thequery in the first format 118 to a query results object 164. Querymapping objects 170 can be persisted by the persistence layer 154, suchas to the database 156. In a particular example, query mapping objects170 can be represented as records in one or more database tables (forexample, a table that has an attribute for “first format queryidentifier” and an attribute for “second format query identifier).

An application transfer service 174 can transfer query results, such asusing query result objects 164, to the application 110, where the queryresults can be stored as the query results in the second format 120. Ina particular example, the application transfer service 174 can use aweb-based protocol, including protocols that comply with RESTprinciples. In a more particular example, the application transferservice 174 can transfer information in query results objects 164 to theapplication 110 using the ODATA protocol.

Example 3—Example User Interface Screen for Metadata Schema Mapping

As described in Example 2, query results (e.g., responses to a posting)can be provided in a different format than a format used by anapplication which requested the posting. In general, differentapplications may use different formats, and the present disclosureprovides technologies for converting between such formats.

Typically, a format for query results includes a plurality of metadatafields, to which one or more values may be assigned. However, not allformats need include all possible fields, and fields can be named andordered or grouped (including hierarchically) differently betweenformats. Similarly, for otherwise equivalent metadata elements, ametadata element in one format may have a different datatype than theequivalent metadata element in another format.

FIG. 2 is an example user interface screen 200 that can allow a user tomap a first query results format to a second query results format. Theuser interface screen 200 can be provided by the user interface 134 ofFIG. 1, such as corresponding to at least a portion of the postingservice configuration component 136. The screen 200 can include a field208 allowing a user to select a source metadata source (e.g., a sourcefile or data object). A user can browse for a source metadata source byselecting a control 210, and can choose to upload (or otherwise load)the source metadata source using button 212. In at least some cases,source metadata sources can be in different formats or types, and radiobuttons 214 can allow a user to specify a source type (e.g., a sourceformat, such as an encoding format, for example JSON or XML). A sourceformat can be a format used by an application that will process queryresults, such as query results in the first format 120 as used by theapplication 110 of FIG. 1.

In a similar manner, a field 220 can allow a user to select a targetmetadata source, including browsing for a source using a control 222.Radio buttons 224 can allow a user to select a file, or format, type forthe target metadata source, data from which can be uploaded to thescreen 200 by selecting an upload icon 226.

Although the screen 200 is shown with the fields 208, 220 for a user toselect source and target metadata sources, in some cases, one or both ofthese fields can be omitted. For example, a user may manually enterschema information in the screen 200.

A mapping section 230 of the screen 200 can present fields 234 forelements (or attributes) of the source data schema and fields 236 forelements (or attributes) of the target data schema. In a particularimplementation, elements from an uploaded metadata schema (e.g.,selected using the field 208) are populated to the fields 234. FIG. 2also shows fields 238 that provide the datatype for a respective field234, and fields 240 that provide the datatype for a respective field236. A software component, such as the parser 162, can include logic forconverting between datatypes used by the target metadata format and thesource metadata format.

The fields 236 can include dropdown selectors 244, which can be used toselect from elements read from a target metadata source, such as atarget metadata source provided in the field 220. That is, the elementsof the target metadata source can define the options from which a usermay select using the dropdown selectors 244. Typically, applicationlogic is provided such that a given element of the target metadatasource can only be assigned or mapped to a single element (e.g., field234) of the source metadata.

In some cases, a user can elect to enter a default value for a givensource element/target element mapping (e.g., a row of the mappingsection 230) in a corresponding default value field 248. The defaultvalue can be a value that will be assigned to the corresponding sourceelement 234 if a value is not received from query results having thetarget metadata schema, or if the target metadata schema does notinclude an equivalent element that can be mapped to the source metadataschema (or a target metadata element is otherwise not mapped to a givensource metadata element).

There need not be, in all cases, an exact correspondence between fieldsof the source metadata and fields of the target metadata. That is, oneor both metadata schemas can have one or more elements that are notpresent in the other. Typically, if the target metadata schema containselements that are not present in the source metadata schema, thosetarget metadata elements are simply not mapped to, or otherwise includedin or accounted for in, the source metadata (i.e., it can be presumedthat the application 110 does not “care” about those metadata elements).If the source metadata includes metadata elements that do not have acorresponding target metadata element, the application 110 may includelogic for handling such omitted information (including for simplyignoring its absence). Or, as described above, a user can enter defaultvalues for unmapped source elements 234 in a corresponding default valuefield 248.

Once a mapping is completed, it can optionally be assigned an identifierusing a field 260 and then saved if a user selects a save icon 262.Typically, the identifier provided in the field 260 can be used toassociate the mapping with a particular posting service (e.g., aparticular posting service 108). Optionally, the mapping may beassociated with other information, such as information identifying theapplication 110 (or a computing system on which the application isexecuting, a particular user, a particular query type, combinations ofthese data elements, etc.). In other cases, an identifier can beassociated with the mapping in another manner, such as automatically bythe posting service configuration component 136 or the configurationcontroller 144. Typically, the mapping is associated with an identifierthat allows the mapping to be associated with a particular postingservice (and optionally one or more of the features noted above, such asan identifier of the application 110, a user identifier, etc.).

Example 4—Example User Interface Screen Displaying Query IdentifierMappings

FIG. 3 illustrates a user interface screen 300 that can allow a user toview, and optionally take various actions regarding, queries posted to aposting service. The user interface screen 300 can be provided by thedata transfer configuration component 138 of the user interface 134 ofFIG. 1.

The screen 300 includes a table 306 having a column with fields 310providing an identifier used by an application associated with a postingor query, such as the application 110. The table 306 further includes acolumn with fields 314 providing an identifier used by a posting service(e.g., a posting service 108), where a row of the table thus provides atuple that associates a given posting identifier for a posting servicein a field 314 with a corresponding posting identifier for anapplication in the field 310. Note that a given application postingidentifier in a field 310 can be appear in multiple rows, havingdifferent identifiers for different posting services in a column havingfields 320. That is, for example, rows 324 a, 324 b, 324 c have the samevalue in field 310, but different values in the field 314, where thevalue in field 320 identifies a particular posting service to which thequery was posted. Each row can also be associated with a posting time,in a column having fields 330.

In some cases, rows of the table 306 can be selectable, or a userotherwise enabled to select a particular tuple of the table, whereselection of a tuple causes query results for the tuple to be retrieved.In at least some cases, a posting service adapter of the presentdisclosure, such as the posting service adapter 112 of FIG. 1, can beconfigured to maintain identifiers for individual query results receivedfrom posting services 108. That is, query results can be in the form ofdiscrete results, or responses to a posting, having unique identifiers,even if multiple responses are included in a single communication from aposting service. These query response identifiers can be stored. Whenquery results are received from a posting service, a component of theposting service adapter (such as the parser 162) can determine whetherany of the query results were previously received by the posting serviceadapter, and returned to the application 110. If so, those query resultscan be omitted from further processing, including not being sent (again)to the application 110. In this way, the posting service adapter 112 canavoid sending duplicative query results to the application, which canconserve processing resources at the posting service adapter 112, andnetwork resources in transferring query results from the posting serviceadapter to the application 110.

Although FIG. 3 has been described as providing for manually-triggeredretrieval of query results, in at least some implementations disclosedtechnologies can provide for automatically triggered or scheduledretrieval of query results, in addition to, or in place of, manualretrieval. Scheduling can include retrieving results at one or morespecified times, or according to a schedule, such as at particularintervals (e.g., daily, weekly). Typically results are “pulled” from aposting service 108, but the posting service adapter 112 can beconfigured to respond to “push” requests from a posting service, ifsupported by a given posting service.

Example 5—Example Application of Disclosed Technologies to RecruitingScenario

Recruiting is a particular area in which the technologies discussed inExamples 1-4 may find use. While there are many ways of recruiting, acommon way is for hiring personnel of a particular entity to post jobopenings to one or more job boards. The hiring personnel can usesoftware applications that are particularly designed for recruitingactivities, such as the SAP SuccessFactors product of SAP SE, ofWalldorf, Germany.

Recruiting software may include functionality to post a particular jobto multiple job boards (e.g., posting services 108 of FIG. 1). Therecruiting software may have functionality to convert a given jobposting to a format used by a job board, and to call APIs of the postingservice to post the job. However, typically the hiring personnel mustmanually log onto a job board to determine whether any candidates haveapplied. If candidates have applied, the hiring personnel may reviewcandidate information and enter that information back in the recruitingsoftware used by the entity. This process can be time consuming anderror prone.

Using technologies described in the present disclosure, hiringpersonnel, or other users, can configure a posting service adapter (suchas the posting service adapter 112 of FIG. 1) to map candidate profilesas maintained in their recruiting software to candidate profiles asprovided by a posting service. The hiring personnel can then manuallycause candidate profiles to be retrieved from the posting services,converted to the format used by the recruiting software, and sent to therecruiting software. Or, automatic retrieval of candidate profiles canbe scheduled, or triggers set.

Candidate profiles provided by a job board can be associated with aparticular metadata schema, which can be hierarchically organized. Forexample, a candidate profile will typically contain elements such as acandidate's name, social security number, date of birth, address andother contact information, work history, and educational history. Someof these elements, such as work history and educational history, mayhave sub-elements such as company or school name, dates employed orschool attended, employer or school address or contact information, etc.These metadata elements may have different names, organizations,datatypes, or combinations thereof, than a schema used by the recruitingsoftware. Mapping between a job board and the recruiting software caninclude mapping metadata elements from one schema to metadata elementsof the other schema, and optionally converting between datatypes used inthe different schemas.

Candidate profiles may be provided in different encoding or fileformats, such as being sent by a posting service in XML or JSON.However, the recruiting software may be configured to use candidateprofiles in another format, such as instances of an abstract datatype oran object in an object oriented programming language. A posting serviceadapter, used in the recruiting context, can convert candidate profilesfrom an XML or JSON representation to an intermediate format used by theposting service adapter. The intermediate representation can be aninstance of a class or object defined to represent a candidate profile.This intermediate format can then be converted for use by, or forsending to, the recruiting software, where the profiles can beinstantiated as instances of the class/object of the recruiting system.

FIGS. 4-6 illustrate how query results, in the form of candidateprofiles by job boards in response to a job posting, can be convertedfrom a format provided by the job board, to an intermediate format, andthen to a format used by recruiting software. FIGS. 4A-4F present XMLcode for a partially completed candidate profile 400. The profile 400includes a plurality of hierarchically arranged metadata elements 404.Values 408 are provided for a portion of the metadata elements. Theprofile 400 can represent candidate profiles provided by a first jobboard in response to a job posting.

FIGS. 5A-5H illustrate an alternative XML candidate profile 500representation as provided by another job board. The candidate profilerepresentation 500 can include multiple candidate profiles 510 that areresponsive to a given job posting. As with the profile 400, each profile510 can include various metadata elements 514, where values 518 areprovided for at least some of the metadata elements.

FIG. 6 provides a JSON representation of a candidate profile 600 thatcan be sent by a job board. The candidate profile 600 includes aplurality of metadata elements 608, at least some of which areassociated with values 614, and thus form attribute-value pairs.

A posting service adapter according to the present disclosure caninclude a parser that retrieves mapping information for a given jobboard, reads the format in which candidate profiles are provided by ajob board (e.g., in XML or JSON), extract values for metadata elements,and uses the mapping information to assign the values to a format to besent to the recruiting system. In carrying out the extracting andassigning, the parser can also convert values between datatypes, ifthere is a difference between a datatype used for a metadata element bya job board and the datatype of the element in the format used by therecruiting service.

FIG. 7 presents JAVA source code 700 for a RawCandidate class. TheRawCandidate class can represent an intermediate format that can be usedto hold data extracted (such as by the parser 162) from candidateprofiles received from a job board. The source code 700 defines datamembers for the RawCandidate class that include a string 708 for anidentifier assigned to the profile, an object 710 (e.g. another abstractdatatype) that includes the actual applicant information for thecandidate, a byte array 712 that can be used to hold an attachmentprovided by the applicant (e.g., a pdf version of a cover letter orresume), and a string 714 that represents the file type of the bytearray. Additional data members can include a string 716 that holds thename of the applicant (candidateName) and a string 718 that holds thejob posting identifier for the job opening to which the candidate isapplying (which, depending on the implementation, can be the identifierassociated with the query in the first format 118 or the identifierassociated with the query in the second format 128). The code 700defines various methods 730, including “setter” and “getting” methodsfor the various data members.

Note that the object datatype used for the profile data member 710 canbe a very general datatype, and can be used to hold XML or JSON data,for example. So, an instance of the RawCandidate class can be used tostore basic information regarding a candidate, and hold the candidate'sprofile (e.g., in a format shown in FIG. 4A-4F, 5A-5H, or 6) in theobject abstract datatype where it can be further processed (e.g., by theparser 162) to provide a representation of the candidate that can besent to the recruiting software.

FIG. 8 presents JAVA source code 800 for a ParsedCandidate class. TheParsedCandidate class can be used to hold information extracted from aninstance of the RawCandidate class. The ParsedCandidate class can be aformat that can be sent to, and used by, the recruiting software, whichcan be serialized and sent to the recruiting software (where it can beconverted, for example, to a representation, such as an instance of aclass, in the format used by the recruiting software), or which can beprovided to the recruiting software via an API of the recruitingsoftware (where it can be converted, for example, to a representation,such as an instance of a class, in the format used by the recruitingsoftware). The code 800 includes data members for a profileHeader object810 (described in the code 900 of FIG. 9), a resumeAttachment object 812(described in the code 1000 of FIG. 10), and a list 814 of propertiesfor the candidate (where a property is described in the code 1100 ofFIG. 11).

The code 800 also declares various methods, including a method 820 toset the values for the profileHeader data member 810 and theresumeAttachment data member 812. A method 824 allows specificproperties provided as arguments to be retrieved from the propertiesdata member 814. A method 828 allows new properties to be added to theproperties data member 814, such as during parsing of the object 710 ofan instance of the RawCandidate class being processed to produce aninstance of the ParsedCandidate class. Similarly, a method 832 can allowa list of properties to be added to the properties data member 814.

The code 800 declares a method 836 for getting the profileHeader datamember 810, and a method 840 for getting the resumeAttachment datamember 812.

FIG. 9 presents the example JAVA code 900 for the profileHeader abstractdatatype. The profileHeader abstract datatype includes a string 910 thatholds a job identifier value, which can be a value used by the job boardto which the candidate profile was originally posted, and from which thecandidate profile was received. A data member 912 having the longdatatype can hold another job identifier value, such as the jobidentifier used by the recruiting software. Thus, the profileHeaderabstract datatype includes information sufficient to map a jobidentifier used by the recruiting software to the corresponding jobidentifier used by a particular job board. A string 914 can be used tohold the identifier for the particular candidate applying for the jobrepresented by the identifiers 910, 912.

The code 900 can include various methods 920, such as methods to set andget the values for the various data members 910, 912, 914.

FIG. 10 presents the example JAVA code 1000 for the resumeAttachmentabstract datatype. The resumeAttachment can be used to store one or moreattachments that may have been provided by a candidate, such as a resumeor a cover letter. The resumeAttachment abstract datatype can have adata member 1010, a string that can be a URL for the attachment. Acontent data member 1012, having the byte array type, can be used tohold the content of the attachment, while a string data member 1014 canbe used to store the file name of the attachment. A data member 1016 canhave a FileExtension datatype, and can be used to store an identifier ofthe file type of the attachment whose data is stored in the data member1012. Methods 1020 can be provided to set and get the values of the datamembers 1010, 1012, 1014, 1016.

FIG. 11 presents example JAVA code 1100 for the FileExtension datatype,which can be an enumerated datatype, which can include values 1110 forvarious file type extensions. A data member 1112 can store the value ofthe extension, as a string. A method 1114 can be used to set the valueof the data member 1112, while a method 1116 can be used to get thevalue of the data member 1112. Methods 1120, 1122 can be used,respectively, to create a hash map of file extensions and stringrepresentations of the extension, and return a file extension for agiven string input.

FIG. 12 presents example JAVA code 1200 that defines an interface for aProperty. The interface includes a method 1210 that returns a Booleanvalue indicating which a given instance of Property is a requiredproperty, and a method 1212 returns a Boolean value indicating whether agiven instance of Property is a navigation property. Methods 1214, 1216,can be used, respectively, to return the identifier, in the form of astring, for a given property, as used in the recruiting software, and astring representing an entity type for the instance of Property.

FIG. 13 presents example JAVA code 1300 for a NavigationProperty class.The NavigationProperty class implements the Property interface of thecode 1200 of FIG. 12. The code 1300 defines various data members,including a string 1310 for a property identifier used by the recruitingsoftware, a string 1312 for an entity type, and a string 1314 for anavigation entity type. Boolean data members 1316, 1318 can indicate,respectively whether the instance of NavigationProperty is required, andwhether the instance includes multiple properties. A data member 1320 isa list that holds instances of abstract datatypes that implement theProperty interface.

The code 1300 includes a method 1330 can be used to set the values ofthe data members 1310, 1312, 1314, 1318. Methods 1332, 1334, 1336, 1338override the corresponding methods 1214, 1216, 1210, 1212 of theProperty interface provided in the code 1200 of FIG. 12. Method 1342 canbe used to set the value of data member 1316 as required. Method 1344can be used to return the data member 1320, while method 1346 can beused to add instances of abstract datatypes implementing the Propertyinterface to the data member 1320. A method 1348 can be used to obtainthe value of the data member 1314, while a method 1350 can be used toobtain the value of the data member 1318.

FIG. 14 illustrates JAVA code 1400 for a SimpleProperty class, and JAVAcode 1450 for a SimplePropertyBuilder class. The SimpleProperty classimplements the Property interface 1200 of FIG. 12, and includes a stringdata member 1406 for a property identifier as used in the recruitingsoftware, a data member 1408 of the object datatype to hold a value ofan instance of the SimpleProperty class, a string data member 1410 tohold a value of the entity type of the instance, and a Boolean datamember 1412 indicating whether the instance is required (e.g., if acandidate profile will be valid if a value corresponding to this datamember is not found).

A method 1416 can be used to set the properties of the data members1406, 1408, 1410, 1412 by taking an instance of theSimplePropertyBuilder class as an argument.

The code 1450 for the SimplePropertyBuilder class includes a string datamember 1452 for a property identifier as used in the recruitingsoftware, a data member 1454 of the object datatype and holding a valuefor the instance, and a string data member 1456 holding an entity typefor the instance. The data members 1452, 1454, 1456 are assigned defaultvalues of NULL. A Boolean data member 1458 is used to indicate whetherthe instance is required, and is defaulted to FALSE.

A method 1464 can be used to return an instance of the SimplePropertyclass to an initial state—resetting the values of the data members 1452,1454, 1456 to NULL, and the value of the data member 1458 to FALSE.Methods 1470 can be used to set/get the values of the data members,while the methods 1474 override the methods 1210, 1212, 1214, 1216 ofthe Property interface of the code 1200 of FIG. 12.

In practice, when query results from a job board are received, profilesfor individual candidates are converted to instances of the RawCandidateclass described in the code 700 of FIG. 7. The profile data member 710can be parsed (e.g., using syntax elements of XML or JSON, such as “/”or semicolon delimiters, to identify attributes/values) to extractvarious values for various properties in the metadata schema used by thejob board. The mapping for the job board can be retrieved, and used toassign entity types (e.g., metadata tags from the schema used by therecruiting software) to the values, which types can be included asproperties in an instance of the ParsedCandidate class of the code 800of FIG. 8.

The identifier used by the recruiting software for the job posting towhich the candidate is applying can be retrieved from mappinginformation using the identifier for the job posting used by therelevant job board, and then associated with the ParsedCandidate. TheParsedCandidate then can be sent to the recruiting application, eitheras the instance of the ParsedCandidate, sending a serialized version ofthe instance to the application, or sending the information for theParsedCandidate using an API of the recruiting application.

Example 6—Example Operations in Receiving, Converting, and Sending QueryResults in Different Schemas

FIG. 15 illustrates operations in a method 1500 for retrieving a queryresult from a query service, converting the result to a format useableby a computing device, and sending the query result to the computingdevice. The method 1500 can be carried out, in a particularimplementation, using the computing environment 100 of FIG. 1.

At 1510, a first identifier is received. The first identifier is used bya first computing device to identify a first query posted to a firstquery service. A second identifier is received at 1514. The secondidentifier is used by the first query service to identify the firstquery. At 1520, at least a first query response for the first query isreceived from the first query service. The first query response is in afirst schema, comprising a first plurality of metadata fields and havingfirst values for at least a portion of the first plurality of metadatafields. It is determined at 1524 that the at least a first queryresponse is responsive to the first query. At 1528, at least a portionof the first values are extracted from the at least a first queryresponse. A first instance of a query response schema is instantiated at1532 with at least a portion of the extracted first values. The queryresponse schema has a second plurality of metadata fields, where atleast a portion of the second plurality of metadata fields differ fromat least a portion of the first plurality of metadata fields. At 1536,the first instance of the query response schema is associated with thefirst identifier. The first instance of the query response schema issent to the first computing device at 1540.

FIG. 16 illustrates operations in a method 1600 for retrieving queryresults from first and second query services, converting the results toa format useable by a computing device, and sending the query results tothe computing device. The method 1600 can be carried out, in aparticular implementation, using the computing environment 100 of FIG.1.

At 1610, a first identifier is received. The first identifier is used bya first computing device to identify a first query posted to a firstquery service and at least a second query service. A second identifieris received at 1614. The second identifier is used by the first queryservice to identify the first query. A third identifier is received at1618. The third identifier is used by the second query service toidentify the first query.

At 1622, at least a first query response to the first query is receivedfrom the first query service. The at least a first query response has afirst schema comprising a first plurality of metadata fields and firstvalues for at least a portion of the first plurality of metadata fields.At 1626, at least a second query response to the first query is receivedfrom the second query service. The at least a second query response hasa second schema comprising a second plurality of metadata fields andsecond values for at least a portion of the second plurality of metadatafields. It is determined at 1630 that the at least a first queryresponse is responsive to the first query. At 1634, at least a portionof the first values are extracted from the at least a first queryresponse.

A first instance of a query response schema is instantiated at 1638 withat least a portion of the extracted first values. The query responseschema has a third plurality of metadata fields. At least a portion ofthe third plurality of metadata fields differ from at least a portion ofthe first plurality of metadata fields. At 1642, the first instance ofthe query response schema is associated with the first identifier. Thefirst instance of the query response schema is sent at 1646 to the firstcomputing device. At 1650, it is determined that the at least a secondquery response is responsive to the first query. At least a portion ofthe second values are extracted at 1654 from the at least a second queryresponse. At 1658, a second instance of the query response schema isinstantiated with at least a portion of the extracted second values. Thesecond instance of the query response schema is associated with thefirst identifier at 1662. At 1666, the second instance of query responseschema is sent to the first computing device.

FIG. 17 illustrates operations in a method 1700 for retrieving a queryresult from a query service, converting the result to a format useableby a first computing device using a mapping configuration, and sendingthe query result to the first computing device. The method 1700 can becarried out, in a particular implementation, using the computingenvironment 100 of FIG. 1.

At 1710, a first identifier is received. The first identifier is used bya first computing device to identify a first query posted to a firstquery service. A second identifier is received at 1714, the secondidentifier is used by the first query service to identify the firstquery. At 1718, a first mapping configuration is received. The firstmapping configuration maps at least a portion of elements of a firstmetadata schema used by the first query service to metadata elements ofa second metadata schema used by the first computing device. The firstmapping configuration is stored at 1722. At 1726, at least a first queryresponse, in the first metadata schema, for the first query is receivedfrom the first query service. It is determined at 1730 that the at leasta first query response is responsive to the first query. At 1734, atleast a portion of first values of metadata elements of the at least afirst query response is extracted. It is determined at 1738 that thefirst query response is associated with the first mapping configuration.The first mapping configuration is retrieved at 1742. At 1746, a firstinstance of the second metadata schema is instantiated by mapping atleast a portion of the first values to metadata elements of the secondmetadata schema using the first mapping configuration. The firstinstance of the second metadata schema is associated with the firstidentifier at 1750. At 1754, the first instance of the second metadataschema is sent to the first computing device.

Example 7—Computing Systems

FIG. 18 depicts a generalized example of a suitable computing system1800 in which the described innovations may be implemented. Thecomputing system 1800 is not intended to suggest any limitation as toscope of use or functionality of the present disclosure, as theinnovations may be implemented in diverse general-purpose orspecial-purpose computing systems.

With reference to FIG. 18, the computing system 1800 includes one ormore processing units 1810, 1815 and memory 1820, 1825. In FIG. 18, thisbasic configuration 1830 is included within a dashed line. Theprocessing units 1810, 1815 execute computer-executable instructions,such as for implementing components of the computing environment 100 ofFIG. 1, including as described in Examples 1-6. A processing unit can bea general-purpose central processing unit (CPU), processor in anapplication-specific integrated circuit (ASIC), or any other type ofprocessor. In a multi-processing system, multiple processing unitsexecute computer-executable instructions to increase processing power.For example, FIG. 18 shows a central processing unit 1810 as well as agraphics processing unit or co-processing unit 1815. The tangible memory1820, 1825 may be volatile memory (e.g., registers, cache, RAM),non-volatile memory (e.g., ROM, EEPROM, flash memory, etc.), or somecombination of the two, accessible by the processing unit(s) 1810, 1815.The memory 1820, 1825 stores software 1880 implementing one or moreinnovations described herein, in the form of computer-executableinstructions suitable for execution by the processing unit(s) 1810,1815.

A computing system 1800 may have additional features. For example, thecomputing system 1800 includes storage 1840, one or more input devices1850, one or more output devices 1860, and one or more communicationconnections 1870. An interconnection mechanism (not shown) such as abus, controller, or network interconnects the components of thecomputing system 1800. Typically, operating system software (not shown)provides an operating environment for other software executing in thecomputing system 1800, and coordinates activities of the components ofthe computing system 1800.

The tangible storage 1840 may be removable or non-removable, andincludes magnetic disks, magnetic tapes or cassettes, CD-ROMs, DVDs, orany other medium which can be used to store information in anon-transitory way and which can be accessed within the computing system1800. The storage 1840 stores instructions for the software 1880implementing one or more innovations described herein.

The input device(s) 1850 may be a touch input device such as a keyboard,mouse, pen, or trackball, a voice input device, a scanning device, oranother device that provides input to the computing system 1800. Theoutput device(s) 1860 may be a display, printer, speaker, CD-writer, oranother device that provides output from the computing system 1800.

The communication connection(s) 1870 enable communication over acommunication medium to another computing entity. The communicationmedium conveys information such as computer-executable instructions,audio or video input or output, or other data in a modulated datasignal. A modulated data signal is a signal that has one or more of itscharacteristics set or changed in such a manner as to encode informationin the signal. By way of example, and not limitation, communicationmedia can use an electrical, optical, RF, or other carrier.

The innovations can be described in the general context ofcomputer-executable instructions, such as those included in programmodules, being executed in a computing system on a target real orvirtual processor. Generally, program modules or components includeroutines, programs, libraries, objects, classes, components, datastructures, etc. that perform particular tasks or implement particularabstract datatypes. The functionality of the program modules may becombined or split between program modules as desired in variousembodiments. Computer-executable instructions for program modules may beexecuted within a local or distributed computing system.

The terms “system” and “device” are used interchangeably herein. Unlessthe context clearly indicates otherwise, neither term implies anylimitation on a type of computing system or computing device. Ingeneral, a computing system or computing device can be local ordistributed, and can include any combination of special-purpose hardwareand/or general-purpose hardware with software implementing thefunctionality described herein.

In various examples described herein, a module (e.g., component orengine) can be “coded” to perform certain operations or provide certainfunctionality, indicating that computer-executable instructions for themodule can be executed to perform such operations, cause such operationsto be performed, or to otherwise provide such functionality. Althoughfunctionality described with respect to a software component, module, orengine can be carried out as a discrete software unit (e.g., program,function, class method), it need not be implemented as a discrete unit.That is, the functionality can be incorporated into a larger or moregeneral-purpose program, such as one or more lines of code in a largeror general-purpose program.

For the sake of presentation, the detailed description uses terms like“determine” and “use” to describe computer operations in a computingsystem. These terms are high-level abstractions for operations performedby a computer, and should not be confused with acts performed by a humanbeing. The actual computer operations corresponding to these terms varydepending on implementation.

Example 8—Cloud Computing Environment

FIG. 19 depicts an example cloud computing environment 1900 in which thedescribed technologies can be implemented. The cloud computingenvironment 1900 comprises cloud computing services 1910. The cloudcomputing services 1910 can comprise various types of cloud computingresources, such as computer servers, data storage repositories,networking resources, etc. The cloud computing services 1910 can becentrally located (e.g., provided by a data center of a business ororganization) or distributed (e.g., provided by various computingresources located at different locations, such as different data centersand/or located in different cities or countries).

The cloud computing services 1910 are utilized by various types ofcomputing devices (e.g., client computing devices), such as computingdevices 1920, 1922, and 1924. For example, the computing devices (e.g.,1920, 1922, and 1924) can be computers (e.g., desktop or laptopcomputers), mobile devices (e.g., tablet computers or smart phones), orother types of computing devices. For example, the computing devices(e.g., 1920, 1922, and 1924) can utilize the cloud computing services1910 to perform computing operators (e.g., data processing, datastorage, and the like).

Example 9—Implementations

Although the operations of some of the disclosed methods are describedin a particular, sequential order for convenient presentation, it shouldbe understood that this manner of description encompasses rearrangement,unless a particular ordering is required by specific language set forthbelow. For example, operations described sequentially may in some casesbe rearranged or performed concurrently. Moreover, for the sake ofsimplicity, the attached figures may not show the various ways in whichthe disclosed methods can be used in conjunction with other methods.

Any of the disclosed methods can be implemented as computer-executableinstructions or a computer program product stored on one or morecomputer-readable storage media, such as tangible, non-transitorycomputer-readable storage media, and executed on a computing device(e.g., any available computing device, including smart phones or othermobile devices that include computing hardware). Tangiblecomputer-readable storage media are any available tangible media thatcan be accessed within a computing environment (e.g., one or moreoptical media discs such as DVD or CD, volatile memory components (suchas DRAM or SRAM), or nonvolatile memory components (such as flash memoryor hard drives)). By way of example, and with reference to FIG. 18,computer-readable storage media include memory 1820 and 1825, andstorage 1840. The term computer-readable storage media does not includesignals and carrier waves. In addition, the term computer-readablestorage media does not include communication connections (e.g., 1870).

Any of the computer-executable instructions for implementing thedisclosed techniques as well as any data created and used duringimplementation of the disclosed embodiments can be stored on one or morecomputer-readable storage media. The computer-executable instructionscan be part of, for example, a dedicated software application or asoftware application that is accessed or downloaded via a web browser orother software application (such as a remote computing application).Such software can be executed, for example, on a single local computer(e.g., any suitable commercially available computer) or in a networkenvironment (e.g., via the Internet, a wide-area network, a local-areanetwork, a client-server network (such as a cloud computing network), orother such network) using one or more network computers.

For clarity, only certain selected aspects of the software-basedimplementations are described. It should be understood that thedisclosed technology is not limited to any specific computer language orprogram. For instance, the disclosed technology can be implemented bysoftware written in C, C++, C#, Java, Perl, JavaScript, Python, Ruby,ABAP, SQL, XCode, GO, Adobe Flash, or any other suitable programminglanguage, or, in some examples, markup languages such as html or XML, orcombinations of suitable programming languages and markup languages.Likewise, the disclosed technology is not limited to any particularcomputer or type of hardware.

Furthermore, any of the software-based embodiments (comprising, forexample, computer-executable instructions for causing a computer toperform any of the disclosed methods) can be uploaded, downloaded, orremotely accessed through a suitable communication means. Such suitablecommunication means include, for example, the Internet, the World WideWeb, an intranet, software applications, cable (including fiber opticcable), magnetic communications, electromagnetic communications(including RF, microwave, and infrared communications), electroniccommunications, or other such communication means.

The disclosed methods, apparatus, and systems should not be construed aslimiting in any way. Instead, the present disclosure is directed towardall novel and nonobvious features and aspects of the various disclosedembodiments, alone and in various combinations and sub combinations withone another. The disclosed methods, apparatus, and systems are notlimited to any specific aspect or feature or combination thereof, nor dothe disclosed embodiments require that any one or more specificadvantages be present, or problems be solved.

The technologies from any example can be combined with the technologiesdescribed in any one or more of the other examples. In view of the manypossible embodiments to which the principles of the disclosed technologymay be applied, it should be recognized that the illustrated embodimentsare examples of the disclosed technology and should not be taken as alimitation on the scope of the disclosed technology. Rather, the scopeof the disclosed technology includes what is covered by the scope andspirit of the following claims.

What is claimed is:
 1. A computing system comprising: a memory; one ormore processing units coupled to the memory; and one or morenon-transitory computer readable storage media storing instructionsthat, when executed, cause the computing system to perform operationscomprising: receiving a first query identifier, used by a firstcomputing device, for a first query; posting the first query to a firstquery service; in response to the posting, receiving a second queryidentifier, used by the first query service for the first query;receiving at least a first query response for the first query from thefirst query service, the at least the first query response having afirst schema comprising a first plurality of metadata fields and firstvalues for at least a portion of the first plurality of metadata fields;receiving and storing a first mapping configuration mapping at least aportion of the first schema used by the first query service to at leasta portion of a query response schema used by the first computing device;based at least in part on determining that the at least the first queryresponse is responsive to the first query at least in part using thesecond query identifier, extracting at least a portion of the firstvalues from the at least the first query response to provide extractedfirst values; based at least in part on determining that the first queryresponse is associated with the first mapping configuration, retrievingthe first mapping configuration to provide a retrieved first mappingconfiguration; instantiating, using the retrieved first mappingconfiguration, a first instance of the query response schema with atleast a portion of the extracted first values, the query response schemahaving a second plurality of metadata fields, at least a portion of thesecond plurality of metadata fields differing from at least a portion ofthe first plurality of metadata fields; associating the first instanceof the query response schema with the first query identifier; andsending the first instance of the query response schema to the firstcomputing device.
 2. The computing system of claim 1, wherein theoperations further comprise: sending a request to the first queryservice for query responses responsive to the first query, the requestcomprising the second query identifier.
 3. The computing system of claim2, wherein the request is sent responsive to user input to retrievequery results.
 4. The computing system of claim 2, wherein the requestis sent based at least in part on a schedule set for retrieving queryresults.
 5. The computing system of claim 1, wherein the first query isalso posted to a second query service and the operations furthercomprise: receiving a third query identifier, used by the second queryservice for the first query; receiving at least a second query responsefor the first query from the second query service.
 6. The computingsystem of claim 5, wherein the at least the second query response has asecond schema comprising a third plurality of metadata fields and secondvalues for at least a portion of the third plurality of metadata fields,the operations further comprising: based at least in part on determiningthat the at least the second query response is responsive to the firstquery extracting at least a portion of the second values from the atleast the second query response to provide extracted second values;instantiating a second instance of the query response schema with atleast a portion of the extracted second values; associating the secondinstance of the query response schema with the first query identifier;and sending the second instance of the query response schema to thefirst computing device.
 7. The computing system of claim 6, wherein theat least the first query response and the at least the second queryresponse are encoded in different formats.
 8. The computing system ofclaim 7, wherein the at least the first query response is in XML and theat least the second query response is in JSON.
 9. The computing systemof claim 1, wherein the instantiating the first instance of the queryresponse schema uses the first mapping configuration mapping at least aportion of the first plurality of metadata fields to at least a portionof the second metadata fields.
 10. The computing system of claim 9, theoperations further comprising: receiving user input defining the firstmapping configuration, the first mapping configuration being associatedwith the first query service.
 11. The computing system of claim 10, theoperations further comprising: receiving user input defining a secondmapping configuration mapping a metadata schema associated with a secondquery service to the query response schema.
 12. The computing system ofclaim 11, the operations further comprising: determining that the atleast the first query response is from the first query service; andbased at least in part on the determining that the at least the firstquery response is from the first query service, selecting the firstmapping configuration, rather than the second mapping configuration, foruse in the instantiating.
 13. The computing system of claim 12, theoperations further comprising: receiving a request to retrieve queryresults for the first query; based at least in part on determining thatthe first query is posted to the first query service and is posted tothe second query service; sending a first request for the query resultsfor the first query to the first query service; and sending a secondrequest for the query results for the first query to the second queryservice.
 14. The computing system of claim 10, the operations furthercomprising: storing a first query ID mapping comprising the first queryidentifier and the second query identifier; receiving from the firstcomputing device a request to retrieve query results for the firstquery, the request comprising the first query identifier; using thefirst query identifier, retrieving the first query ID mapping to providea retrieved query ID mapping; and sending a request to the first queryservice for the query results for the first query, the request to thefirst query service comprising the second query identifier, asdetermined from the retrieved query ID mapping.
 15. The computing systemof claim 1, the operations further comprising: storing a first mappingservice configuration, the first mapping service configurationcomprising an identifier of at least one Application ProgrammingInterface (API) of the first mapping service that receives call toretrieve query results; receiving a request to retrieve query resultsfrom the first query service; retrieving the first mapping serviceconfiguration; and calling the at least one API.
 16. The computingsystem of claim 1, wherein the extracting comprises storing at least aportion of the first query response in an intermediate representation,and wherein the instantiating the first instance of a query responseschema comprises parsing the at least the portion of the first queryresponse in the intermediate representation.
 17. The computing system ofclaim 16, wherein the intermediate representation is an instance of anabstract datatype having a data member for storing the at least theportion of the first query response.
 18. A method, implemented in acomputing system comprising a memory and one or more processors,comprising: receiving a first query identifier, used by a firstcomputing device, for a first query; posting the first query to a firstquery service and at least a second query service; in response to theposting, receiving a second query identifier, used by the first queryservice for the first query, and receiving a third query identifier,used by the second query service for the first query; receiving at leasta first query response for the first query from the first query service,the at least the first query response having a first schema comprising afirst plurality of metadata fields and first values for at least aportion of the first plurality of metadata fields; receiving at least asecond query response for the first query from the second query service,the at least the second query response having a second schema comprisinga second plurality of metadata fields and second values for at least aportion of the second plurality of metadata fields; receiving andstoring a first mapping configuration and a second mappingconfiguration, wherein the first mapping configuration maps at least afirst portion of the first schema used by the first query service to atleast a first portion of a query response schema used by the firstcomputing device, and the second mapping configuration maps at least asecond portion of the second schema used by the second query service tothe at least a second portion of the query response schema used by thefirst computing device, wherein the at least a first portion of therequest response schema and the at least a second portion of the queryresponse schema are the same or differ in whole or part: based at leastin part on determining that the at least first query response isresponsive to the first query at least in part using the second queryidentifier, extracting at least a portion of the first values from theat least first query response; based at least in part on determiningthat the first query response is associated with the first mappingconfiguration, retrieving the first mapping configuration to provide aretrieved first mapping configuration; instantiating, using theretrieved first mapping configuration, a first instance of the queryresponse schema with at least a portion of the extracted first values,the query response schema having a third plurality of metadata fields,at least a portion of the third plurality of metadata fields differingfrom at least a portion of the first plurality of metadata fields;associating the first instance of the query response schema with thefirst query identifier; sending the first instance of the query responseschema to the first computing device; based at least in part ondetermining that the at least second query response is responsive to thefirst query at least in part using the third query identifier,extracting at least a portion of the second values from the at leastsecond query response; based at least in part on determining that the atleast second query response is associated with the second mappingconfiguration, retrieving the second mapping configuration to provide aretrieved second mapping configuration; instantiating, using theretrieved second mapping configuration, a second instance of the queryresponse schema with at least a portion of the extracted second values;associating the second instance of the query response schema with thefirst query identifier; and sending the second instance of the queryresponse schema to the first computing device.
 19. The method of claim17, wherein the at least a first portion of the request response schemaand the at least a second portion of the query response schema are thesame.
 20. One or more non-transitory computer-readable storage mediastoring: computer-executable instructions that, when executed by acomputing system comprising at least one hardware processor and at leastone memory coupled to the at least one hardware processor, cause thecomputing system to receive a first query identifier, used by a firstcomputing device, for a first query; computer-executable instructionsthat, when executed by the computing system, cause the computing systemto post the first query to a first query service; computer-executableinstructions that, when executed by the computing system, cause thecomputing system to, in response to the posting, receive a second queryidentifier, used by the first query service for the first query;computer-executable instructions that, when executed by the computingsystem, cause the computing system to receive a first mappingconfiguration, the first mapping configuration mapping at least aportion of metadata elements of a first metadata schema used by thefirst query service to metadata elements of a second metadata schemaused by the first computing device; computer-executable instructionsthat, when executed by the computing system, cause the computing systemto store the first mapping configuration; computer-executableinstructions that, when executed by the computing system, cause thecomputing system to receive at least a first query response for thefirst query from the first query service, the at least first queryresponse being in the first metadata schema; computer-executableinstructions that, when executed by the computing system, cause thecomputing system to, based at least in part on determining that the atleast first query response is responsive to the first query at least inpart using the second query identifier, extract at least a portion offirst values from the metadata elements of the at least the first queryresponse; computer-executable instructions that, when executed by thecomputing system, cause the computing system to, based at least in parton determining that the at least first query response is associated withthe first mapping configuration, retrieve the first mappingconfiguration to provide a retrieved first mapping configuration;computer-executable instructions that, when executed by the computingsystem, cause the computing system to instantiate a first instance ofthe second metadata schema with at least a portion of the extractedfirst value by mapping at least a portion of the first values to themetadata elements of the second metadata schema using the retrievedfirst mapping configuration; computer-executable instructions that, whenexecuted by the computing system, cause the computing system toassociate the first instance of second metadata schema with the firstquery identifier; and computer-executable instructions that, whenexecuted by the computing system, cause the computing system to send thefirst instance of the second metadata schema to the first computingdevice.